from django.urls import path, include
from rest_framework import routers
from apps.system.user.views import UserViewSet, AdminViewSet, UserTreeViewSet
from apps.system.user.viewsForC import UserForCViewSet, UserTreeForCViewSet

router = routers.DefaultRouter()
router.register('user', UserViewSet, basename='user')
router.register('userTree', UserTreeViewSet, basename='userTree')
router.register('userForC', UserForCViewSet, basename='userForC')
router.register('userTreeForC', UserTreeForCViewSet, basename='userTreeForC')
router.register('admin', AdminViewSet, basename='admin')

urlpatterns = [
    path('', include(router.urls)),
]